.avatar {
            display: block;
            /* 图片大小 */
            overflow: hidden;
        }

        .avatar img {
            display: block;
            border: 0;
            transform: scale(1);
            transition: all 2s ease 0s;
            -webkit-transform: scale(1);
            -webkit-transform: all 1s ease 0s;
        }

        .avatar:hover img {
            transform: scale(2);
            transition: all 2s ease 0s;
            -webkit-transform: scale(2);
            -webkit-transform: all 1s ease 0s;
        }